package com.im.service.dto;

import java.util.List;

import com.im.viewmodel.fundPlan.FileVo;

import net.sf.json.JSONObject;

public class InvestPlan {
    private String investPlanId;

	private String investPlanCode;

    private String investPlanName;

    private String impleProjId;

    private String declareSetId;
    private String declareSetName;

    private String investPlanStartDt;

    private String investPlanEndDt;

	private String statusCd;

	private String statusName;


	private String docCode;

    private String createDt;

    private String version;

    private String description;
    
	private String examineDescription;

    private String buFund;
    
    private String shengFund;
    
    private String gaoFund;
    
    private String shiFund;
    
    private String qiFund;
    
	private String otherFund;

    private String applicant;
    
    private Double total;
    
    private String impleProjName;

	private String orgId;

	private String planProjClass;

	private String orgName;

	private String yearDt;

	List<JSONObject> fundSource;

	List<FileVo> files;

	private String preWorkSituation;

	public String getOtherFund() {
		return otherFund;
	}

	public void setOtherFund(String otherFund) {
		this.otherFund = otherFund;
	}

	public String getPreWorkSituation() {
		return preWorkSituation;
	}

	public void setPreWorkSituation(String preWorkSituation) {
		this.preWorkSituation = preWorkSituation;
	}

	public String getYearDt() {
		return yearDt;
	}

	public String getDeclareSetName() {
		return declareSetName;
	}

	public void setDeclareSetName(String declareSetName) {
		this.declareSetName = declareSetName;
	}

	public String getExamineDescription() {
		return examineDescription;
	}

	public void setExamineDescription(String examineDescription) {
		this.examineDescription = examineDescription;
	}

	public String getPlanProjClass() {
		return planProjClass;
	}

	public void setPlanProjClass(String planProjClass) {
		this.planProjClass = planProjClass;
	}

	public List<FileVo> getFiles() {
		return files;
	}

	public void setFiles(List<FileVo> files) {
		this.files = files;
	}

	public List<JSONObject> getFundSource() {
		return fundSource;
	}

	public void setFundSource(List<JSONObject> fundSource) {
		this.fundSource = fundSource;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getImpleProjName() {
		return impleProjName;
	}

	public String getInvestPlanCode() {
		return investPlanCode;
	}

	public void setInvestPlanCode(String investPlanCode) {
		this.investPlanCode = investPlanCode;
	}

	public void setImpleProjName(String impleProjName) {
		this.impleProjName = impleProjName;
	}

	public Double getTotal() {
		return total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}

	public String getApplicant() {
		return applicant;
	}

	public void setApplicant(String applicant) {
		this.applicant = applicant;
	}

	public String getBuFund() {
		return buFund;
	}

	public void setBuFund(String buFund) {
		this.buFund = buFund;
	}

	public String getShengFund() {
		return shengFund;
	}

	public void setShengFund(String shengFund) {
		this.shengFund = shengFund;
	}

	public String getGaoFund() {
		return gaoFund;
	}

	public void setGaoFund(String gaoFund) {
		this.gaoFund = gaoFund;
	}

	public String getShiFund() {
		return shiFund;
	}

	public void setShiFund(String shiFund) {
		this.shiFund = shiFund;
	}

	public String getQiFund() {
		return qiFund;
	}

	public void setQiFund(String qiFund) {
		this.qiFund = qiFund;
	}

	public String getInvestPlanId() {
        return investPlanId;
    }

    public void setInvestPlanId(String investPlanId) {
        this.investPlanId = investPlanId == null ? null : investPlanId.trim();
    }

    public String getInvestPlanName() {
        return investPlanName;
    }

    public void setInvestPlanName(String investPlanName) {
        this.investPlanName = investPlanName == null ? null : investPlanName.trim();
    }

    public String getImpleProjId() {
        return impleProjId;
    }

    public void setImpleProjId(String impleProjId) {
        this.impleProjId = impleProjId == null ? null : impleProjId.trim();
    }

    public String getDeclareSetId() {
        return declareSetId;
    }

    public void setDeclareSetId(String declareSetId) {
        this.declareSetId = declareSetId == null ? null : declareSetId.trim();
    }

    public String getInvestPlanStartDt() {
		if(investPlanStartDt != null && investPlanStartDt.length() >= 4){
			investPlanStartDt = investPlanStartDt.substring(0, 4);
		}
		return investPlanStartDt;
	}
	public void setInvestPlanStartDt(String investPlanStartDt) {
		this.investPlanStartDt = investPlanStartDt;
	}
	public String getInvestPlanEndDt() {
		if(investPlanEndDt != null && investPlanEndDt.length() >= 4){
			investPlanEndDt = investPlanEndDt.substring(0, 4);
		}
		return investPlanEndDt;
	}
	public void setInvestPlanEndDt(String investPlanEndDt) {
		this.investPlanEndDt = investPlanEndDt;
	}

	public String getStatusCd() {
        return statusCd;
    }

	public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public String getDocCode() {
        return docCode;
    }

    public void setDocCode(String docCode) {
        this.docCode = docCode == null ? null : docCode.trim();
    }

    public String getCreateDt() {
        return createDt;
    }

    public void setCreateDt(String createDt) {
        this.createDt = createDt;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

	public void setYearDt(String yearDt) {
		this.yearDt = yearDt;
	}

	public String getStatusName() {
		return statusName;
	}

	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
}